<?php
App::uses('PaymentAppModel', 'Payment.Model');
/**
 * PluginPaymentLog Model
 *
 * @property Gateway $Gateway
 * @property Status $Status
 */
class PaymentLog extends PaymentAppModel {


	var $useTable = 'plugin_payment_logs';
	
	public $belongsTo = array(
		'Gateway' => array(
			'className' => 'PaymentGateway',
			'foreignKey' => 'gateway_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Status' => array(
			'className' => 'Status',
			'foreignKey' => 'status_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);
}
